import Vue from 'vue'
import App from './App.vue'
import router from './router.js'
import store from './vuex/store.js'


//引入并使用Element-UI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)

// 引入i18n
import i18n from './i18n/index.js';

// 引入全局样式
//Vue.config.productionTip = false
import './assets/scss/main.scss';

import 'babel-polyfill';

// 引入注册的localStroage方法和sessionStroage方法
import local_session from './utils/local_session.js';
Vue.use(local_session)

// 引入全局方法
import globalFunc from './utils/prototype.js';
Vue.use(globalFunc);

//引入axios
import VueAxios from 'vue-axios'
import Axios from 'axios'
Vue.use(VueAxios,Axios)

new Vue({
	router,
	i18n,
	store,
  render: h => h(App)
}).$mount('#app')
